﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace zielonka.co.uk.extensions.system
{
    //Description:	Capitalise a string
    /*
        
    */

    public static partial class StringExtensions
    {
        public static string Capitalise(this string word)
        {
            return Capitalize(word);
        }

        public static string Capitalize(this string word)
        {
            return word[0].ToString().ToUpper() + word.Substring(1);
        }
    }
}
